package com.bwda.dsrs.systemservice.domain.po.notify;

import lombok.Data;

import java.util.Date;
/**
 * 系统消息po
 *
 * @author yanyuemei
 * @date 2019/4/27
 */
@Data
public class NotifyPo {

	/**
	 * 
	*/
	private Integer id;
	/**
	 * 标题
	*/
	private String title;
	/**
	 * 内容
	*/
	private String content;
	/**
	 * 发布时间
	*/
	private Date publishTime;
	/**
	 * 是否撤销
	*/
	private String revokeFlag;
	/**
	 * 撤销时间
	*/
	private Date revokeTime;
	/**
	 * 是否删除
	*/
	private String deleteFlag;
	/**
	 * 删除时间
	*/
	private Date updateTime;
	/**
	 * 
	*/
	private String url;
	/**
	 * 通告类型0.消息，1.待办
	*/
	private String notType;
	/**
	 * 用户code
	*/
	private String userCode;
	/**
	 * 是否阅读
	*/
	private String readFlag;
	/**
	 * 阅读时间
	*/
	private Date readTime;

	public Date getPublishTime() {
		if (publishTime != null){
			return (Date) publishTime.clone();
		}

		return null;
	}

	public void setPublishTime(Date publishTime) {
		if (publishTime != null){
			this.publishTime = (Date) publishTime.clone();
		}
	}

	public Date getRevokeTime() {
		if (revokeTime != null){
			return (Date) revokeTime.clone();
		}

		return null;
	}

	public void setRevokeTime(Date revokeTime) {
		if (revokeTime != null){
			this.revokeTime = (Date) revokeTime.clone();
		}
	}

	public Date getUpdateTime() {
		if (updateTime != null){
			return (Date) updateTime.clone();
		}

		return null;
	}

	public void setUpdateTime(Date updateTime) {
		if (updateTime != null){
			this.updateTime = (Date) updateTime.clone();
		}
	}

	public Date getReadTime() {
		if (readTime != null){
			return (Date) readTime.clone();
		}

		return null;
	}

	public void setReadTime(Date readTime) {
		if (readTime != null){
			this.readTime = (Date) readTime.clone();
		}
	}
}